package com.xydtech.ecard.ecard.service;

import com.xydtech.ecard.ecard.domain.EcardApiAccessRecordList;
import com.xydtech.ecard.ecard.domain.EcardApiVisitRecord;

import java.util.List;
import java.util.Map;

/**
 * 电子名片浏览记录明细Service接口
 * 
 * @author Daniel
 * @date 2021-09-14
 */
public interface IEcardAccessRecordListService 
{
    /**
     * 新增电子名片访问记录
     * @param ecardAccessRecordList
     * @return
     */
    int insertEcardAccessRecordList(EcardApiAccessRecordList ecardAccessRecordList);
    /**
     * 电子名片-电子名片-获取电子名片的访问记录
     * @param userId
     * @return
     */
    List<EcardApiVisitRecord> getEcardAccessRecordList(String userId);

    /**
     * 电子名片-电子名片-获取电子名片访问的汇总数据
     * @param currentUserId
     * @return
     */
    Map<String, Object> getEcardAccessRecordTotalData(String currentUserId);
}
